package com.tm.mapper;

import org.apache.ibatis.annotations.Mapper;
import tm.pojo.*;
import tm.pojo.dto.HomePageDto;
import tm.result.Result;

import java.util.List;
import java.util.Map;
import java.util.Random;

/**
 * @author Rocky
 * @create 2022-09-26 11:48
 */
@Mapper
public interface UserTanhuaMapper {

    List<TodayBeauty> queryVisitUser(HomePageDto homePageDto);

    UserPojo querySelfUserInfo(Integer userId);

    List<Integer> queryLoveTestingByid();

    List<LoveQuestionPojo> queryQuestion(List<Integer> list1);

    void addLoveResult(TanswerPojo build);

    TanswerPojo queryLoveTestingRecord(Integer userId);

    Integer queryUserSoulMemberInfo(Integer userId);

    List<UserPojo> querySoulMeetMember(Map<String, Object> map);

    UserPojo queryUser(Integer userId1);

    Integer queryMp3Count(Integer userId);


    void addMemberMp3(MemberMp3 memberMp3);

    List<MemberMp3> queryMp3();


    

    LookMp3 queryLookMp3(Integer userId);

    void updateLookMp3(LookMp3 lookMp3);

    LookMp3 queryLookMp3Count(Integer userId);

    List<MemberMp3> queryMemberMp3(int random);

    void addLookMp3(LookMp3 lookMp31);

    void updateLookMp3Bydate(LookMp3 lookMp31);

    MemberMp3 queryMp3ByUserId(Integer userId1);


    List<TanswerPojo> queryLoveAnswer();
}
